<%-- 
    Document   : saveadd
    Created on : 5-dec-2009, 11:07:28
    Author     : Simon
--%>
<%@page import="be.ugent.medirem.persistence.util.DateFormatter" %>
<jsp:useBean id="patient" class="be.ugent.medirem.persistence.entity.values.PatientValues" scope="request"/>
<jsp:setProperty name="patient" property="socialSecurityNumber" />
<jsp:setProperty name="patient" property="surname" />
<jsp:setProperty name="patient" property="id" />
<jsp:setProperty name="patient" property="firstname" />
<jsp:setProperty name="patient" property="bloodgroup" />
<jsp:setProperty name="patient" property="birthDate" value="<%= DateFormatter.convert(request.getParameter(\"birthDate\"),\"dd/MM/yyyy\") %>" />
<jsp:setProperty name="patient" property="username" />
<jsp:setProperty name="patient" property="password" />
<jsp:forward page="/gp/patient/new" />